package com.hlhj.funlike_business.bean;

import java.util.List;

public class OrderDetailBean {

    /**
     * code : 1
     * msg : 请求成功
     * data : {"order":{"order_sn":"201901101519950","id":224,"price":"50.36","status":20,"is_comment":1,"reduced_price":"5.00","reduced_text":"满30减5","freight":"0.00","packing":"0.00","goods_num":1,"deliver_time":"01-10 17:01","create_time":1547110915,"pay_type":2,"remark":"","is_immediately":1,"deliver_time_vi":1547110915},"goods":[{"goods_name":"干锅四季豆","attr_name":"","price":"69.20","num":2,"img":"http://waimai.wufenhuyu.com/upload/goods/20190102/68449fa9288029e79c311d5fba87f96a.jpg","discount_price":"55.36"}],"address":{"name":"范冰冰","mobile":"13812345678","address_detail":"四川省成都市武侯区天府五街200号","sex":2,"img":"https://wx.qlogo.cn/mmopen/vi_32/8eGCSSKSeu0n11WGlDFyfPYSWYn5wIxmWY01tgEZhyrY9XQD1dibrphibs1oick0uOjqznTLIzbQZ7NU1YtBuU7Pg/132"}}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * order : {"order_sn":"201901101519950","id":224,"price":"50.36","status":20,"is_comment":1,"reduced_price":"5.00","reduced_text":"满30减5","freight":"0.00","packing":"0.00","goods_num":1,"deliver_time":"01-10 17:01","create_time":1547110915,"pay_type":2,"remark":"","is_immediately":1,"deliver_time_vi":1547110915}
         * goods : [{"goods_name":"干锅四季豆","attr_name":"","price":"69.20","num":2,"img":"http://waimai.wufenhuyu.com/upload/goods/20190102/68449fa9288029e79c311d5fba87f96a.jpg","discount_price":"55.36"}]
         * address : {"name":"范冰冰","mobile":"13812345678","address_detail":"四川省成都市武侯区天府五街200号","sex":2,"img":"https://wx.qlogo.cn/mmopen/vi_32/8eGCSSKSeu0n11WGlDFyfPYSWYn5wIxmWY01tgEZhyrY9XQD1dibrphibs1oick0uOjqznTLIzbQZ7NU1YtBuU7Pg/132"}
         */

        private OrderBean order;
        private AddressBean address;
        private List<GoodsBean> goods;

        public OrderBean getOrder() {
            return order;
        }

        public void setOrder(OrderBean order) {
            this.order = order;
        }

        public AddressBean getAddress() {
            return address;
        }

        public void setAddress(AddressBean address) {
            this.address = address;
        }

        public List<GoodsBean> getGoods() {
            return goods;
        }

        public void setGoods(List<GoodsBean> goods) {
            this.goods = goods;
        }

        public static class OrderBean {
            /**
             * order_sn : 201901101519950
             * id : 224
             * price : 50.36
             * status : 20
             * is_comment : 1
             * reduced_price : 5.00
             * reduced_text : 满30减5
             * freight : 0.00
             * packing : 0.00
             * goods_num : 1
             * deliver_time : 01-10 17:01
             * create_time : 1547110915
             * pay_type : 2
             * remark :
             * is_immediately : 1
             * deliver_time_vi : 1547110915
             */

            private String order_sn;
            private int id;
            private String price;
            private int status;
            private int is_comment;
            private String reduced_price;
            private String reduced_text;
            private String freight;
            private String packing;
            private int goods_num;
            private String deliver_time;
            private int create_time;
            private int pay_type;
            private String remark;
            private int is_immediately;
            private int deliver_time_vi;

            public String getOrder_sn() {
                return order_sn;
            }

            public void setOrder_sn(String order_sn) {
                this.order_sn = order_sn;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public int getIs_comment() {
                return is_comment;
            }

            public void setIs_comment(int is_comment) {
                this.is_comment = is_comment;
            }

            public String getReduced_price() {
                return reduced_price;
            }

            public void setReduced_price(String reduced_price) {
                this.reduced_price = reduced_price;
            }

            public String getReduced_text() {
                return reduced_text;
            }

            public void setReduced_text(String reduced_text) {
                this.reduced_text = reduced_text;
            }

            public String getFreight() {
                return freight;
            }

            public void setFreight(String freight) {
                this.freight = freight;
            }

            public String getPacking() {
                return packing;
            }

            public void setPacking(String packing) {
                this.packing = packing;
            }

            public int getGoods_num() {
                return goods_num;
            }

            public void setGoods_num(int goods_num) {
                this.goods_num = goods_num;
            }

            public String getDeliver_time() {
                return deliver_time;
            }

            public void setDeliver_time(String deliver_time) {
                this.deliver_time = deliver_time;
            }

            public int getCreate_time() {
                return create_time;
            }

            public void setCreate_time(int create_time) {
                this.create_time = create_time;
            }

            public int getPay_type() {
                return pay_type;
            }

            public void setPay_type(int pay_type) {
                this.pay_type = pay_type;
            }

            public String getRemark() {
                return remark;
            }

            public void setRemark(String remark) {
                this.remark = remark;
            }

            public int getIs_immediately() {
                return is_immediately;
            }

            public void setIs_immediately(int is_immediately) {
                this.is_immediately = is_immediately;
            }

            public int getDeliver_time_vi() {
                return deliver_time_vi;
            }

            public void setDeliver_time_vi(int deliver_time_vi) {
                this.deliver_time_vi = deliver_time_vi;
            }
        }

        public static class AddressBean {
            /**
             * name : 范冰冰
             * mobile : 13812345678
             * address_detail : 四川省成都市武侯区天府五街200号
             * sex : 2
             * img : https://wx.qlogo.cn/mmopen/vi_32/8eGCSSKSeu0n11WGlDFyfPYSWYn5wIxmWY01tgEZhyrY9XQD1dibrphibs1oick0uOjqznTLIzbQZ7NU1YtBuU7Pg/132
             */

            private String name;
            private String mobile;
            private String address_detail;
            private int sex;
            private String img;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getMobile() {
                return mobile;
            }

            public void setMobile(String mobile) {
                this.mobile = mobile;
            }

            public String getAddress_detail() {
                return address_detail;
            }

            public void setAddress_detail(String address_detail) {
                this.address_detail = address_detail;
            }

            public int getSex() {
                return sex;
            }

            public void setSex(int sex) {
                this.sex = sex;
            }

            public String getImg() {
                return img;
            }

            public void setImg(String img) {
                this.img = img;
            }
        }

        public static class GoodsBean {
            /**
             * goods_name : 干锅四季豆
             * attr_name :
             * price : 69.20
             * num : 2
             * img : http://waimai.wufenhuyu.com/upload/goods/20190102/68449fa9288029e79c311d5fba87f96a.jpg
             * discount_price : 55.36
             */

            private String goods_name;
            private String attr_name;
            private String price;
            private int num;
            private String img;
            private String discount_price;

            public String getGoods_name() {
                return goods_name;
            }

            public void setGoods_name(String goods_name) {
                this.goods_name = goods_name;
            }

            public String getAttr_name() {
                return attr_name;
            }

            public void setAttr_name(String attr_name) {
                this.attr_name = attr_name;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public int getNum() {
                return num;
            }

            public void setNum(int num) {
                this.num = num;
            }

            public String getImg() {
                return img;
            }

            public void setImg(String img) {
                this.img = img;
            }

            public String getDiscount_price() {
                return discount_price;
            }

            public void setDiscount_price(String discount_price) {
                this.discount_price = discount_price;
            }
        }
    }
}
